<?php
$completeBtn = $screen->createLink('completeBtn', array('linkType' => BUIBase::LinkType_AjaxButton, 'label' => 'Complete'));
$nextBtn = $screen->createLink('nextBtn', array('linkType' => BUIBase::LinkType_AjaxButton, 'label' => 'Next'));
$cancelBtn = $screen->createLink('cancelBtn', array('linkType' => BUIBase::LinkType_AjaxButton, 'label' => 'Cancel'));
?>

<div class="form">    
    <?php
    $form = $this->beginWidget('bootstrap.widgets.TbActiveForm', array(
        'id' => 'createServiceMeta',
        'htmlOptions' => array('class' => 'well'),
            ));
    ?>

    <?php echo $form->textFieldRow($model, 'serviceName', array('class' => 'span3')); ?>
    <?php
    echo $form->dropDownListRow($model, 'serviceCategory', $screen->getServiceCategoryData(), array('class' => 'span3', 'prompt' => 'Select Category'));
    ?>
    <?php
    echo $form->dropDownListRow($model, 'serviceRole', $screen->getServiceRolesData(), array('class' => 'span3', 'prompt' => 'Select Role'));
    ?>
    <div>        
        <?php
        echo $completeBtn;
        ?>
        <?php
        echo $nextBtn;
        ?>
        <?php
        $this->widget('bootstrap.widgets.TbButton', array('buttonType' => 'reset',
            'label' => 'Reset',
            'htmlOptions' => array('name' => 'reset')));
        ?>
        <?php
        echo $cancelBtn;
        ?>
    </div>

    <?php $this->endWidget(); ?>
</div><!-- form -->


